package com.pithypan.vo;

import java.util.Date;

/**
 * 文件查询的条件
 */
public class FileInfoQuery {

    //@ApiModelProperty(value = "文件id")
    private String fileId;
    private String fileIdFuzzy;

    //@ApiModelProperty(value = "用户id")
    private String userId;
    private String userIdFuzzy;

    //@ApiModelProperty(value = "秒传条件 文件md5值")
    private String fileMd5;
    private String fileMd5Fuzzy;

    //@ApiModelProperty(value = "父级id")
    private String filePid;
    private String filePidFuzzy;

    //@ApiModelProperty(value = "文件大小")
    private Long fileSize;

    //@ApiModelProperty(value = "文件名")
    private String fileName;
    private String fileNameFuzzy;

    //@ApiModelProperty(value = "封面")
    private String fileCover;
    private String fileCoverFuzzy;

    //@ApiModelProperty(value = "文件路径")
    private String filePath;
    private String filePathFuzzy;

    //@ApiModelProperty(value = "创建时间")
    private Date createTime;
    private String createTimeFuzzy;

    //@ApiModelProperty(value = "最后更新时间")
    private Date lastUpdateTime;
    private String lastUpdateTimeFuzzy;

    //@ApiModelProperty(value = "0：文件，1：目录")
    private Integer folderType;

    //@ApiModelProperty(value = "文件分类：1:视频 2:音频 3:图片 4:文档 5:其它")
    private Integer fileCategory;

    //@ApiModelProperty(value = "1:视频 2:音频 3:图片 4:pdf 5:doc 6:excel 7:txt 8:code 9:zip 10:其它")
    private Integer fileType;

    //@ApiModelProperty(value = "0:转码中 1:转码失败 2:转码成功")
    private Integer status;

    //@ApiModelProperty(value = "进入回收站时间")
    private Date recoveryTime;

    //@ApiModelProperty(value = "标记删除：0:删除 1:回收站 2:正常")
    private Integer delFlag;

    //@ApiModelProperty(value = "排序")
    private String orderBy;

    //分页查询
    private Integer start;       //起始位置
    private Integer pageNo;      //页码
    private Integer pageSize;    //每页显示数

    private String[] fileIdArray; //文件id数组  CommonFileController.getFolderInfo方法中使用

    private String[] excludeFileIdArray;  //需排除的文件id  FileInfoController.loadAllFolder方法中使用

    private Boolean queryNickName;     //是否关联user表，查询用户名

    public Boolean getQueryNickName() {
        return queryNickName;
    }

    public void setQueryNickName(Boolean queryNickName) {
        this.queryNickName = queryNickName;
    }

    public String[] getExcludeFileIdArray() {
        return excludeFileIdArray;
    }

    public void setExcludeFileIdArray(String[] excludeFileIdArray) {
        this.excludeFileIdArray = excludeFileIdArray;
    }

    public String[] getFileIdArray() {
        return fileIdArray;
    }

    public void setFileIdArray(String[] fileIdArray) {
        this.fileIdArray = fileIdArray;
    }

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public String getFileId() {
        return fileId;
    }

    public String getFileIdFuzzy() {
        return fileIdFuzzy;
    }

    public void setFileIdFuzzy(String fileIdFuzzy) {
        this.fileIdFuzzy = fileIdFuzzy;
    }

    public String getUserId() {
        return userId;
    }

    public String getUserIdFuzzy() {
        return userIdFuzzy;
    }

    public void setUserIdFuzzy(String userIdFuzzy) {
        this.userIdFuzzy = userIdFuzzy;
    }

    public String getFileMd5() {
        return fileMd5;
    }

    public String getFileMd5Fuzzy() {
        return fileMd5Fuzzy;
    }

    public void setFileMd5Fuzzy(String fileMd5Fuzzy) {
        this.fileMd5Fuzzy = fileMd5Fuzzy;
    }

    public String getFilePid() {
        return filePid;
    }

    public String getFilePidFuzzy() {
        return filePidFuzzy;
    }

    public void setFilePidFuzzy(String filePidFuzzy) {
        this.filePidFuzzy = filePidFuzzy;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public String getFileName() {
        return fileName;
    }

    public String getFileNameFuzzy() {
        return fileNameFuzzy;
    }

    public void setFileNameFuzzy(String fileNameFuzzy) {
        this.fileNameFuzzy = fileNameFuzzy;
    }

    public String getFileCover() {
        return fileCover;
    }

    public String getFileCoverFuzzy() {
        return fileCoverFuzzy;
    }

    public void setFileCoverFuzzy(String fileCoverFuzzy) {
        this.fileCoverFuzzy = fileCoverFuzzy;
    }

    public String getFilePath() {
        return filePath;
    }

    public String getFilePathFuzzy() {
        return filePathFuzzy;
    }

    public void setFilePathFuzzy(String filePathFuzzy) {
        this.filePathFuzzy = filePathFuzzy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public String getCreateTimeFuzzy() {
        return createTimeFuzzy;
    }

    public void setCreateTimeFuzzy(String createTimeFuzzy) {
        this.createTimeFuzzy = createTimeFuzzy;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public String getLastUpdateTimeFuzzy() {
        return lastUpdateTimeFuzzy;
    }

    public void setLastUpdateTimeFuzzy(String lastUpdateTimeFuzzy) {
        this.lastUpdateTimeFuzzy = lastUpdateTimeFuzzy;
    }

    public Integer getFolderType() {
        return folderType;
    }

    public Integer getFileCategory() {
        return fileCategory;
    }

    public Integer getFileType() {
        return fileType;
    }

    public Integer getStatus() {
        return status;
    }

    public Date getRecoveryTime() {
        return recoveryTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setFileMd5(String fileMd5) {
        this.fileMd5 = fileMd5;
    }

    public void setFilePid(String filePid) {
        this.filePid = filePid;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public void setFileCover(String fileCover) {
        this.fileCover = fileCover;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public void setFolderType(Integer folderType) {
        this.folderType = folderType;
    }

    public void setFileCategory(Integer fileCategory) {
        this.fileCategory = fileCategory;
    }

    public void setFileType(Integer fileType) {
        this.fileType = fileType;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setRecoveryTime(Date recoveryTime) {
        this.recoveryTime = recoveryTime;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }
}
